package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.Return;

import java.util.List;

public interface BaseService<T> {

    int insert(T t);

    int update(T t);

    List<T> query(T t);

    T queryById(String id);

    int delete(String id, Return ret);
}
